import { Meeting } from '@/api/manager/meeting'
import { Mt, MtEntity } from '@/api/manager/mt'
import { IMcc } from '@/api/manager/type'
import type { MccModel } from '@/pages/manager/blocks/main/table/all/translator'
export type { MccModel, Meeting, Mt, IMcc, MtEntity }
export type InitOption = {
	title: string //邀请终端弹窗头文字
	isOpen: boolean //弹窗打开状态
	curTemplateE164: string //当前预分配会议号或者是会控当前会议的e164号, 为了知道级联情况
	meetingType: 0 | 1 | 2 //会议类型 0:传统，1:端口,2:sfu
	maxRate: number //最大码率
	showTrees: ('org' | 'monitor' | 'template')[] //显示的tab tree
	isSuperMeeting: boolean //是否是超大方
	isSupportRtc: boolean //是否支持rtc
	isMcc: boolean //是否会控
	meetingMoid?: string // 会控才有的meetingMoid
	mccModel?: MccModel<Meeting> //会控才有的MccModel
	isOnlyMakeUser: boolean //是否只是选人员，不调整码率等
	smartCascadeMode: 0 | 1 /**智能级联会议的标识 */
}
export interface MccCurrentMt {
	account: string
	accountType: number
	moid: string
	e164: string
}
export interface Cascade {
	id: string
	name: string
	confLevel: 2 | 3
}
export interface MtItem {
	name?: string
	account?: string
	bitrate?: number
	meetingMoid?: string
	accountType?: number
	protocol?: number
	interactiveMt?: number
	oftenMt?: number
}
